<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class Slimore\Mvc\View | Slimore</title>

	<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
	<link rel="stylesheet" href="resources/style.css?49f43d3208c5d7e33fa16d36107a345bf11cc00d">

</head>

<body>
	<nav id="navigation" class="navbar navbar-default navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="index.html" class="navbar-brand">Slimore</a>
			</div>
			<div class="collapse navbar-collapse">

                <form id="search" class="navbar-form navbar-left" role="search">
                    <input type="hidden" name="cx" value="">
                    <input type="hidden" name="ie" value="UTF-8">
                    <div class="form-group">
                        <input type="text" name="q" class="search-query form-control" placeholder="Search">
					</div>
				</form>

				<ul class="nav navbar-nav">
					<li>
						<a href="namespace-Slimore.Mvc.html" title="Summary of Slimore\Mvc"><span>Namespace</span></a>
					</li>
					<li class="active">
<span>Class</span>					</li>





				</ul>
			</div>
		</div>
	</nav>

	<div id="left">
	<div id="menu">

		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
					<li>
						<a href="namespace-None.html">
							None						</a>
							</li>
					<li class="active">
						<a href="namespace-Slimore.html">
							Slimore<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-Slimore.Cache.html">
							Cache<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-Slimore.Cache.Exception.html">
							Exception						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-Slimore.Captcha.html">
							Captcha						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Database.html">
							Database						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Debug.html">
							Debug						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Http.html">
							Http						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Image.html">
							Image						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Log.html">
							Log						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Middleware.html">
							Middleware						</a>
							</li>
					<li class="active">
						<a href="namespace-Slimore.Mvc.html">
							Mvc						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Pagination.html">
							Pagination						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Upload.html">
							Upload						</a>
							</li>
								</ul></li>
			</ul>
		</div>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Slimore.Mvc.Application.html">Application</a></li>
				<li><a href="class-Slimore.Mvc.Controller.html">Controller</a></li>
				<li><a href="class-Slimore.Mvc.Model.html">Model</a></li>
				<li class="active"><a href="class-Slimore.Mvc.View.html">View</a></li>
			</ul>



			<h3>Exceptions</h3>
			<ul>
				<li><a href="class-Slimore.Mvc.Exception.html">Exception</a></li>
			</ul>


		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
	<div id="rightInner">
<div id="content" class="class">
	<h1>Class View</h1>


	<div class="description">
	<p>Class View</p>
	</div>

	<dl class="tree well">
		<dd style="padding-left:0px">
Slim\View
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by">
<b><span>Slimore\Mvc\View</span></b>			
			
			
		</dd>
	</dl>








	<div class="alert alert-info">
		
		
		<b>Namespace:</b> <a href="namespace-Slimore.html">Slimore</a>\<a href="namespace-Slimore.Mvc.html">Mvc</a><br>
		<b>Package:</b> Slimore\Mvc<br>

				<b>Author:</b>
				Pandao<br>
			<b>Located at</b> <a href="source-class-Slimore.Mvc.View.html#17-372" title="Go to source code">Slimore/Mvc/View.php</a>
		<br>
	</div>



		<div class="panel panel-default">
			<div class="panel-heading"><h2>Methods summary</h2></div>
			<table class="summary table table-bordered table-striped methods" id="methods">
		<tr data-order="setCompileDirectory" id="_setCompileDirectory">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_setCompileDirectory">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#83-98" title="Go to source code">setCompileDirectory</a>( )</code>

			<div class="description short">
				<p>Set/Create template compile directory</p>
			</div>

			<div class="description detailed hidden">
				<p>Set/Create template compile directory</p>







			</div>
			</div></td>
		</tr>
		<tr data-order="setCompileFile" id="_setCompileFile">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_setCompileFile">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#101-111" title="Go to source code">setCompileFile</a>( <span>string <var>$filename</var></span> )</code>

			<div class="description short">
				<p>Set template compile file path</p>
			</div>

			<div class="description detailed hidden">
				<p>Set template compile file path</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$filename</var></dt>
						<dd></dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="getProperties" id="_getProperties">

			<td class="attributes"><code>
				 public static
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getProperties">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#113-116" title="Go to source code">getProperties</a>( <span>array <var>$array</var></span> )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				







			</div>
			</div></td>
		</tr>
		<tr data-order="render" id="_render">

			<td class="attributes"><code>
				 public 
				mixed
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_render">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#119-177" title="Go to source code">render</a>( <span>string <var>$template</var></span>, <span>array <var>$data</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Template render</p>
			</div>

			<div class="description detailed hidden">
				<p>Template render</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$template</var></dt>
						<dd></dd>
						<dt><var>$data</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						mixed
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="mkdir" id="_mkdir">

			<td class="attributes"><code>
				 public static
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_mkdir">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#180-197" title="Go to source code">mkdir</a>( <span>string <var>$dir</var></span> )</code>

			<div class="description short">
				<p>Create template compile directory</p>
			</div>

			<div class="description detailed hidden">
				<p>Create template compile directory</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$dir</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="read" id="_read">

			<td class="attributes"><code>
				 protected 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_read">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#200-209" title="Go to source code">read</a>( <span>string <var>$filename</var></span> )</code>

			<div class="description short">
				<p>Read template file</p>
			</div>

			<div class="description detailed hidden">
				<p>Read template file</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$filename</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="write" id="_write">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_write">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#212-221" title="Go to source code">write</a>( <span>string <var>$filename</var></span>, <span>string <var>$content</var></span> )</code>

			<div class="description short">
				<p>Write template compile file</p>
			</div>

			<div class="description detailed hidden">
				<p>Write template compile file</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$filename</var></dt>
						<dd></dd>
						<dt><var>$content</var></dt>
						<dd></dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="includeFile" id="_includeFile">

			<td class="attributes"><code>
				 public static
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_includeFile">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#224-273" title="Go to source code">includeFile</a>( <span>string <var>$file</var></span> )</code>

			<div class="description short">
				<p>Parse &amp; require included template file</p>
			</div>

			<div class="description detailed hidden">
				<p>Parse &amp; require included template file</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$file</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="parser" id="_parser">

			<td class="attributes"><code>
				 public static
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_parser">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#276-359" title="Go to source code">parser</a>( <span>string <var>$tpl</var></span> )</code>

			<div class="description short">
				<p>Template parser</p>
			</div>

			<div class="description detailed hidden">
				<p>Template parser</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$tpl</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="addGlobals" id="_addGlobals">

			<td class="attributes"><code>
				 public static
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_addGlobals">#</a>
			<code><a href="source-class-Slimore.Mvc.View.html#362-371" title="Go to source code">addGlobals</a>( <span>array <var>$array</var></span> )</code>

			<div class="description short">
				<p>Insert global variables</p>
			</div>

			<div class="description detailed hidden">
				<p>Insert global variables</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$array</var></dt>
						<dd></dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
			</table>
		</div>











		<div class="panel panel-default">
            <div class="panel-heading"><h2>Properties summary</h2></div>
			<table class="summary table table-bordered table-striped properties" id="properties">
		<tr data-order="compileFileSuffix" id="$compileFileSuffix">
			<td class="attributes"><code>
				public  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#25-28" title="Go to source code"><var>$compileFileSuffix</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$compileFileSuffix" class="anchor">#</a>
					<code><span class="php-quote">'.php'</span></code>
				</div>
			</td>
		</tr>
		<tr data-order="compileFileNameMd5" id="$compileFileNameMd5">
			<td class="attributes"><code>
				public  
				boolean
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#30-33" title="Go to source code"><var>$compileFileNameMd5</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$compileFileNameMd5" class="anchor">#</a>
					<code><span class="php-keyword1">true</span></code>
				</div>
			</td>
		</tr>
		<tr data-order="compileDirectoryName" id="$compileDirectoryName">
			<td class="attributes"><code>
				public  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#35-38" title="Go to source code"><var>$compileDirectoryName</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$compileDirectoryName" class="anchor">#</a>
					<code><span class="php-quote">'.compiles'</span></code>
				</div>
			</td>
		</tr>
		<tr data-order="cacheDirectoryName" id="$cacheDirectoryName">
			<td class="attributes"><code>
				public  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#40-43" title="Go to source code"><var>$cacheDirectoryName</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$cacheDirectoryName" class="anchor">#</a>
					<code><span class="php-quote">'.caches'</span></code>
				</div>
			</td>
		</tr>
		<tr data-order="templateName" id="$templateName">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#45-48" title="Go to source code"><var>$templateName</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$templateName" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
		<tr data-order="templateFile" id="$templateFile">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#50-53" title="Go to source code"><var>$templateFile</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$templateFile" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
		<tr data-order="compilePath" id="$compilePath">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#55-58" title="Go to source code"><var>$compilePath</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$compilePath" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
		<tr data-order="compileCached" id="$compileCached">
			<td class="attributes"><code>
				public  
				boolean
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#60-63" title="Go to source code"><var>$compileCached</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$compileCached" class="anchor">#</a>
					<code><span class="php-keyword1">true</span></code>
				</div>
			</td>
		</tr>
		<tr data-order="templateCompileFile" id="$templateCompileFile">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#65-68" title="Go to source code"><var>$templateCompileFile</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$templateCompileFile" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
		<tr data-order="globals" id="$globals">
			<td class="attributes"><code>
				protected static 
				array
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#70-75" title="Go to source code"><var>$globals</var></a>

				<div class="description short">
					<p>Global vars for insert view</p>
				</div>

				<div class="description detailed hidden">
					<p>Global vars for insert view</p>

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$globals" class="anchor">#</a>
					<code>[]</code>
				</div>
			</td>
		</tr>
		<tr data-order="properties" id="$properties">
			<td class="attributes"><code>
				protected static 
				array
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Mvc.View.html#77-80" title="Go to source code"><var>$properties</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$properties" class="anchor">#</a>
					<code>[]</code>
				</div>
			</td>
		</tr>
			</table>
		</div>






</div>
	</div>

	<div id="footer">
		Slimore API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
